package com.cloud.business.entity.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

import com.cloud.business.common.CommonTimeZone;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 用户详细信息表 实体映射类
 * Copyright: Copyright (C) 2020 DLANGEL, Inc. All rights reserved.
 * Company: 大连安琪科技有限公司
 * AR模式可以继承 extends Model<SysUserDetail>
 *
 * @author yuf
 * @since 2020-7-1 18:46:31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "SysUserDetail对象", description = "用户详细信息表 ")
public class SysUserDetail {

    private static final long serialVersionUID = 1595399681092L;

    @TableId(value = "object_id", type = IdType.AUTO)
    @ApiModelProperty(name = "objectId", value = "base-主键")
    private Integer objectId;
    @TableLogic
    @ApiModelProperty(name = "isDeleted", value = "base-删除标志")
    private Integer isDeleted;
    @ApiModelProperty(name = "pid", value = "base-上级id")
    private Integer pid;
    @ApiModelProperty(name = "sort", value = "base-排序")
    private Integer sort;
    @ApiModelProperty(name = "createUserId", value = "base-创建人")
    private Integer createUserId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = CommonTimeZone.TIMEZONE)
    @ApiModelProperty(name = "createTime", value = "base-创建时间")
    private Date createTime;
    @ApiModelProperty(name = "modificationUserId", value = "base-修改人")
    private Integer modificationUserId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = CommonTimeZone.TIMEZONE)
    @ApiModelProperty(name = "modificationTime", value = "base-修改时间")
    private Date modificationTime;
    @ApiModelProperty(name = "remark", value = "base-备注")
    private String remark;
    @ApiModelProperty(name = "nickName", value = "昵称")
    private String nickName;
    @ApiModelProperty(name = "leaderName", value = "负责人姓名")
    private String leaderName;
    @ApiModelProperty(name = "card", value = "身份证")
    private String card;
    @ApiModelProperty(name = "province", value = "省")
    private Integer province;
    @ApiModelProperty(name = "city", value = "市")
    private Integer city;
    @ApiModelProperty(name = "district", value = "区")
    private Integer district;
    @ApiModelProperty(name = "address", value = "地址")
    private String address;
    @ApiModelProperty(name = "enumSex", value = "性别")
    private String enumSex;
    @ApiModelProperty(name = "birthday", value = "生日")
    private String birthday;
    @ApiModelProperty(name = "enumApprovalStatus", value = "审核状态")
    private String enumApprovalStatus;
    @ApiModelProperty(name = "approvalContent", value = "审核备注")
    private String approvalContent;
    @ApiModelProperty(name = "rid", value = "极光RID")
    private String rid;

}
